home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q104 / 1 / 82.TXT < prev    next >
Text File  |  1993-11-16  |  4KB  |  113 lines

  1. DOCUMENT:Q104182  04-NOV-1993  [W_NT]
  2. TITLE   :NT May Be Unable to Use Files in Directories with Long Names
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:buglist3.10
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15. SYMPTOMS
  16. ========
  17.  
  18. In Windows NT, when you try to access or use a file on an NTFS
  19. partition in a directory with a very long name, you may receive
  20. various error messages and be unable to manipulate the file.
  21.  
  22. RESOLUTION
  23. ==========
  24.  
  25. To workaround this problem, use a shorter name for the directory.
  26.  
  27.  
  28. MORE INFORMATION
  29. ================
  30.  
  31. Steps to Reproduce Problem
  32. --------------------------
  33.  
  34. 1. On an NTFS drive X, create the following directory (245 characters)
  35.    with File Manager:
  36.  
  37.    X:\1234567890123456789012345678901234567890123456789012345678901234567
  38.    8901234567890123456789012345678901234567890123456789012345678901234567
  39.    8901234567890123456789012345678901234567890123456789012345678901234567
  40.    89012345678901234567890123456789012345
  41.  
  42.    NOTE: To create this directory name, use a text editor such as Notepad
  43.    to copy 1234567890 to the Clipboard and in the File Manager's Create
  44.    Directory dialog box, use CTRL+V 24 times, and then add the last 5
  45.    numbers to make a 245 character directory name.
  46.  
  47. 2. In the Accessories group window, double-click the Notepad icon,
  48.    or use the arrow keys to select the Notepad icon, and then press
  49.    ENTER.
  50.  
  51. 3. Type the following:
  52.  
  53.       This is a Test.
  54.  
  55. 4. Save the file in the above directory as 1234567.123
  56.  
  57. 5. Switch to File Manager.
  58.  
  59. 6. Try to delete the file 123456.123 just created with Notepad.
  60.  
  61.    You will receive the following error message:
  62.  
  63.       File Manager Cannot Delete
  64.       X:\1234567890....123456789012345\1234567.123
  65.  
  66.       The System Cannot Find the File Specified.
  67.       Make Sure the Correct Path and Filename are Specified and the
  68.       Network is Started.
  69.  
  70.    You may also experience other problems when trying to use this file in
  71.    a Command Prompt (CMD.EXE). You will receive this error message if the
  72.    total length of the directory name and the file name exceed 241
  73.    characters.
  74.  
  75. -or-
  76.  
  77. 1. At a Command Prompt, create a file in the above subdirectory called
  78.    1234567.123 and then execute the following command:
  79.  
  80.       REN 1234567.123 TEST.TXT
  81.  
  82.    You will receive the following error message:
  83.  
  84.       There are no more files.
  85.  
  86. 2. At a Command Prompt, create a file in the above subdirectory
  87.    called 123456.123 and then execute the following command:
  88.  
  89.       DEL 123456.123
  90.  
  91.    You will receive the following error message:
  92.  
  93.       File not found.
  94.  
  95. Additional reference words: 3.10
  96. KBCategory:
  97. KBSubcategory: filsys ntap
  98.  
  99. =============================================================================
  100.  
  101. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  102. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  103. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  104. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  105. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  106. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  107. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  108. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  109. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  110. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  111. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  112.  
  113. Copyright Microsoft Corporation 1993.